package com.zq.it.pojo.exam;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.zq.it.pojo.Teacher;

/**
 * TQuestionDb entity. @author MyEclipse Persistence Tools
 */

public class TQuestionDb implements java.io.Serializable {

	// Fields

	private long id;
	private Teacher teacher;
	private String dbName;
	private Date CDate;
	private Set TQuestionses = new HashSet(0);

	// Constructors

	/** default constructor */
	public TQuestionDb() {
	}

	/** minimal constructor */
	public TQuestionDb(String dbName, Date CDate) {
		this.dbName = dbName;
		this.CDate = CDate;
	}

	/** full constructor */
	public TQuestionDb(Teacher teacher, String dbName, Date CDate,
			Set TQuestionses) {
		this.teacher = teacher;
		this.dbName = dbName;
		this.CDate = CDate;
		this.TQuestionses = TQuestionses;
	}

	// Property accessors

	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Teacher getTeacher() {
		return this.teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public String getDbName() {
		return this.dbName;
	}

	public void setDbName(String dbName) {
		this.dbName = dbName;
	}

	public Date getCDate() {
		return this.CDate;
	}

	public void setCDate(Date CDate) {
		this.CDate = CDate;
	}

	public Set getTQuestionses() {
		return this.TQuestionses;
	}

	public void setTQuestionses(Set TQuestionses) {
		this.TQuestionses = TQuestionses;
	}

}